body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}
.container {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://source.unsplash.com/random/1920x1080?math') no-repeat center center fixed;
    background-size: cover;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #ffcccc, #ffccff, #ccccff, #ccffff, #ccffcc);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.door {
    position: absolute;
    width: 50%;
    height: 100%;
    background: rgb(0, 0, 0);
    transition: transform 2s ease-in-out;
    box-shadow: 0 0 20px rgba(167, 167, 167, 0.2);
    border: 5px solid rgb(100, 100, 100);
    transform-style: preserve-3d;
}
.door::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    transform: rotateY(45deg);
}
.door-left {
    left: 0;
    transform-origin: left;
}
.door-right {
    right: 0;
    transform-origin: right;
}
.welcome-message {
    width: 40%;
    height: 40%;
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    animation: shadowChange 6s infinite alternate;
    position: relative;
    z-index: 30; /* Ensure welcome message is above shapes */
}
@keyframes shadowChange {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}
.welcome-message span {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.welcome-message .line1 {
    font-size: 3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.welcome-message .line2 {
    font-size: 1.8em;
    color: #666;
}
.shape-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
    z-index: 15; 
    overflow: hidden; 
}
.shape {
    position: absolute;
    opacity: 0.8;
    font-size: 40px; 
    animation: fall 5s linear infinite;
}
@keyframes fall {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(110vh); }
}
.content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    font-size: 2em;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 25; 
}

@media (max-width: 1200px) {
    .welcome-message {
        width: 45%;
        height: 40%;
        font-size: 1.5em;
    }
    .welcome-message .line1 {
        font-size: 2em;
    }
    .welcome-message .line2 {
        font-size: 1.2em;
    }
}

@media (max-width: 840px) {
    .welcome-message {
        width: 60%;
        height: 35%;
        font-size: 1.1em;
    }

}

@media (max-width: 768px) {
    .welcome-message {
        width: 60%;
        height: 35%;
        font-size: 1.2em;
    }
    .welcome-message .line1 {
        font-size: 2em;
    }
    .welcome-message .line2 {
        font-size: 1.2em;
    }
}


@media (max-width: 600px) {
    .welcome-message {
        width: 60%;
        height: 35%;
        font-size: 1em;
    }
    .welcome-message .line1 {
        font-size: 2em;
    }
    .welcome-message .line2 {
        font-size: 1.2em;
    }
}

@media (max-width: 600px) {
    .welcome-message {
        width: 70%;
        height: 35%;
        font-size: 1em;
    }
    .welcome-message .line1 {
        font-size: 2em;
    }
    .welcome-message .line2 {
        font-size: 1.2em;
    }
}


@media (max-width: 340px) {
    .welcome-message {
        width: 75%;
        height: 30%;
        font-size: 0.8em;
    }

}

.car-license-popup-button {
position: fixed;
top: 10%; 
right: 20px;
height: 40px;
background: linear-gradient(90deg, #736896, #310255);
border: none;
border-radius: 5px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
cursor: pointer;
transition: top 0.3s ease-in-out;
font-size: 14px;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
padding: 0 15px;
color: rgb(255, 255, 255);
}

.car-license-popup-button:hover
{
background: #ccffcc;
color: #333;
}

.car-license-popup-button.car-visible {
top: 20px;
}
.car-license-popup-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(10px);
justify-content: center;
align-items: center;
z-index: 1001;
}
.car-license-popup-content {
width: 55%;
padding: 20px;
background: #ffffff;
border-radius: 20px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
text-align: center;
max-width: 90%;
height: auto;
}
.car-license-popup-logo {
width: 100px;
height: auto;
margin-bottom: 20px;
border: none;
}
.car-license-close-button {
width: 100px;
height: 40px;
margin-top: 20px;
padding: 10px 20px;
background: #3498db;
color: #ffffff;
border: none;
border-radius: 20px;
cursor: pointer;
transition: background 0.3s;
font-size: 14px;
}
.car-license-close-button:hover {
background: #2980b9;
}
.car-license-show-popup {
display: flex;
}